package ai4games_tests.west_world;

import game2dai.World;
import game2dai.entities.Vehicle;
import game2dai.maths.Vector2D;
import game2dai.utils.StopWatch;
import processing.core.PApplet;

public class WestWorld extends PApplet {
	
	World world;
	StopWatch sw;
	Miner m;
	MinersWife mw;
	
	
	public void setup(){
		size(600,300);
		world = new World(width, height);
		sw = new StopWatch();
		
		
		
		sw.reset();
	}
	
	public void draw(){
		double elapsedTime = sw.getElapsedTime();
		world.update(elapsedTime);
		background(255);
		
		world.draw();		
	}
	
	public class Miner extends Vehicle {

		public float thirst;
		public int nuggets;
		
		public Miner(Vector2D position, double radius, Vector2D velocity,
				double max_speed, Vector2D heading, double mass,
				double max_turn_rate, double max_force) {
			super(position, radius, velocity, max_speed, heading, mass, max_turn_rate,
					max_force);
		}
		
	}
	
	
	
	public class MinersWife extends Vehicle {

		public MinersWife(Vector2D position, double radius, Vector2D velocity,
				double max_speed, Vector2D heading, double mass,
				double max_turn_rate, double max_force) {
			super(position, radius, velocity, max_speed, heading, mass, max_turn_rate,
					max_force);
		}
		
	}
	

}
